MailPoet\Services\Bridge S

Total Complexity 50
Dependencies 5
Dependents 31
Total lines 309
Lines of code 199
Logical lines of code 82
Comment lines 42
Methods 22
Properties 2

Methods 22

Method Rating Maintainability Complexity Lines of code
processKeyCheckResult()
A
48 8 34
storeKeyAndState()
A
50 8 32
getAuthorizedSenderDomains()
S
57 4 17
getAuthorizedEmailAddresses()
S
65 4 9
isMailpoetSendingServiceEnabled()
S
64 3 9
buildKeyState()
S
66 3 8
isMPSendingServiceEnabled()
S
64 3 9
__construct()
S
71 2 6
initApi()
S
67 2 8
storeMSSKeyAndState()
S
79 1 3
updateSubscriberCount()
S
80 1 3
storePremiumKeyAndState()
S
79 1 3
checkPremiumKey()
S
72 1 6
createAuthorizedSenderDomain()
S
70 1 6
checkMSSKey()
S
72 1 6
verifyAuthorizedSenderDomain()
S
74 1 5
createAuthorizedEmailAddress()
S
74 1 5
getApi()
S
80 1 3
pingBridge()
S
65 1 9
isPremiumKeySpecified()
S
72 1 5
isMSSKeySpecified()
S
72 1 5
invalidateMssKey()
S
67 1 8